<?php
/**
 * CreateTime: 2022/6/22 17:45
 */

namespace App\Service\MapService;

use App\Models\Staff\StaffModel;

class StaffMapService
{
    public function staffMap($staffId,$tableStr){
        $staffModel = new StaffModel();
        return @$staffModel->getStaffDetail($staffId,[$tableStr])[$tableStr];
    }
}